<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/jquery-3.5.1.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<input type="button" class="p1" value="0"/>
		<script type="text/javascript">
			$(function(){
				$(".p1").click(function(){
					var s = $(this).val();
					s++;
					$(this).val(s);
				})
			})
		</script>
	</body>
</html>
